import Mock from 'mockjs';

Mock.mock(
  'http://202.120.40.87:14642/api/message/read',
  'get',
  () => ({
    status: '200',
    message: '请求成功',
    data: {
      read: [
        {
          type: 1,
          fromUser: {
            userId: 20,
            username: '李',
          },
          content: '已读消息',
          process: '123',
          device: '0',
          time: '2019-12-06T07:02:29.934+0000',
          toUser: [
            {
              userId: 50,
              username: '天',
            },
          ],
          messageId: 'c54ef66e-be54-4cf2-a423-f34e6204fb03',
        },
      ],
    },
  }),
);
